package concurrency.chapter2;

/**
 * FileName: ClassLayoutDemo
 * Author:   周壮
 * Date:     2020/5/24 16:09
 * Description:
 */
public class ClassLayoutDemo {
    public static void main(String[] args) {
        ClassLayoutDemo classLayoutDemo = new ClassLayoutDemo();
        synchronized (classLayoutDemo) {
            System.out.println("locking");
//            System.out.println(ClassLayout.parseInstance(classLayoutDemo).toPrintable());
        }
    }
}
